<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String[] enames = {"非法操作","数据库错误","密码错误","用户不存在",
"该用户已注册","未登录","权限不够","文章不存在",
"验证码错误","程序已经安装，重新安装请删除'installed.dat'文件！","安装失败，可能程序已经安装过","程序尚未安装，请进入'网站/install'进行安装",
"无法连接数据库，请核实数据库信息"};

int id ;
try{
	id = Integer.parseInt(request.getParameter("id"));
}catch(NumberFormatException e){
	id = 100;
}
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>error!</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    error! :<%=id-100>=0&&id-100<enames.length?enames[(id-100)]:enames[0] %><br>
  </body>
</html>
